﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Mvc;

namespace MvcApplication1.Controllers
{
    public class SearchController : Controller
    {
        //
        // GET: /Search/

        public ActionResult Index()
        {
            return View();
        }
        public ActionResult search()
        {
            ViewData["Text"]  = Request.Form["Text"];
            string test = Request.Form["Text"];
            ViewData["Type"] = Request.Form["Select"];
            return View();
        }

    }
}
